]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
notificationDaemon: Fix clicks on legacy icons
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 12 Jul 2013 14:47:57 +0000 (16:47 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 24 Jul 2013 13:22:05 +0000 (15:22 +0200)
Jasper removed the ShellGlobal:stage-input-mode property after its
"last" use was removed. Adapt the (hopefully) really last use of the
property to the recent input changes.

https://bugzilla.gnome.org/show_bug.cgi?id=704095

js/ui/notificationDaemon.js

index dec74064d8e0089caba5627757b1f4bb490a9656..1a49827a013f8570c831036267e0f9ba135eea2d 100644 (file)
@@ -717,8 +717,8 @@ const Source = new Lang.Class({
             this.notifications.length > 0)
             return false;
 
-        let id = global.connect('notify::stage-input-mode', Lang.bind(this, function () {
-            global.disconnect(id);
+        let id = global.stage.connect('deactivate', Lang.bind(this, function () {
+            global.stage.disconnect(id);
             this.trayIcon.click(event);
         }));